package part6;

/**
 * @author wcj
 * @Date 2021/5/14 15:28
 * @Version 1.0
 */
public class Part62 {

    /**
     * public修饰符表示该成员属性或者方法能够被任意地方的类使用
     */
    public String name;

    public Integer age;

    public Part62(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public void testPublic() {
        System.out.println("测试public");
    }
}
